/*
* acooly.cn Inc.
* Copyright (c) 2017 All Rights Reserved.
* create by ouwen
* date:2017-09-27
*/
package com.yiji.fintech.musfinance.web;

import com.acooly.core.common.web.AbstractJQueryEntityController;
import com.acooly.core.utils.enums.ResultStatus;
import com.yiji.fintech.musfinance.base.enums.*;
import com.yiji.fintech.musfinance.entity.TransactionSign;
import com.yiji.fintech.musfinance.service.TransactionSignService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;

import javax.servlet.http.HttpServletRequest;
import java.util.Map;

/**
 * center_transaction_sign 管理控制器
 * 
 * @author ouwen
 * Date: 2017-09-27 15:30:48
 */
@Controller
@RequestMapping(value = "/manage/sign/transactionSign")
public class TransactionSignManagerController extends AbstractJQueryEntityController<TransactionSign, TransactionSignService> {
	

	{
		allowMapping = "*";
	}

	@SuppressWarnings("unused")
	@Autowired
	private TransactionSignService transactionSignService;

	
	@Override
	protected void referenceData(HttpServletRequest request, Map<String, Object> model) {
		model.put("allElementTypes", ElementTypeEnum.mapping());
		model.put("allNotifyStatuss", NotifyStatusEnum.mapping());
		model.put("allTransStatuss", TransStatusEnum.mapping());
		model.put("allCertTypes", CertTypeEnum.mapping());
		model.put("allCurrencys", CurrencyEnum.mapping());
		model.put("allCardTypes", CardTypeEnum.mapping());
		model.put("allStatuss", ResultStatus.mapping());
	}

}
